<?php /* Smarty version 2.6.13, created on 2009-02-20 13:25:20
         compiled from show_edit.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_select_date', 'show_edit.tpl', 27, false),)), $this); ?>
<form action="/own/save" method="post">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td colspan="2" height="3px" bgcolor="#B4004A"></td>
	</tr>
	<tr>
		<td colspan="2" style="padding-top:10px;"><a class="a_menu_non" style="font-weight:bold;">Форма регистрации</a></td>
	</tr>
	
	
	<?php $_from = $this->_tpl_vars['Error']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['OneError']):
?>
	<?php if ($this->_tpl_vars['OneError']): ?>
	<tr>
		<td colspan="2" style="padding-top:10px;"><div class="error"><?php echo $this->_tpl_vars['OneError']; ?>
</div></td>
	</tr>
	<?php endif; ?>
	<?php endforeach; endif; unset($_from); ?>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Ф.И.О. :</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="text" name="m[full_name]" size="60" style="width:320px;" height="20px" class="grey" value="<?php echo $this->_tpl_vars['User']->full_name; ?>
"/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;" valign="top"><a class="grey">Дата рождения :</a></td>
		<td width="60%" style="padding-top:5px;" align="right" class="grey">
			<?php echo smarty_function_html_select_date(array('start_year' => -100,'end_year' => -1,'reverse_years' => true,'field_array' => 'birth','all_extra' => 'class="grey"','field_order' => 'DMY','time' => $this->_tpl_vars['User']->birth_date), $this);?>

		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Логин *** :</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<a class="grey" style="font-weight: bold;"><?php echo $this->_tpl_vars['User']->login; ?>
</a>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Пароль **:</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="password" name="m[password]" style="width:320px;" size="60" height="20px" class="grey" value=""/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Подтверждение пароля **:</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="password" name="m[password1]" style="width:320px;" size="60" height="20px" class="grey" value=""/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">e-mail *:</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="text" name="m[email]" size="60" style="width:320px;" height="20px" class="grey" value="<?php echo $this->_tpl_vars['User']->email; ?>
"/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Пол :</a></td>
		<td width="60%" style="padding-top:5px;" align="right" class="grey">
			Муж :<input type="radio" value="m" name="m[gender]" <?php if ($this->_tpl_vars['User']->gender == 'm'): ?>checked<?php endif; ?>/>&nbsp;&nbsp;&nbsp;&nbsp;
			Жен :<input type="radio" value="f" name="m[gender]" <?php if ($this->_tpl_vars['User']->gender == 'f'): ?>checked<?php endif; ?>/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Город проживания :</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="text" name="m[city]" size="60" style="width:320px;" height="20px" class="grey" value="<?php echo $this->_tpl_vars['User']->city; ?>
"/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Посещённые страны :</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="text" name="m[visited_countries]" style="width:320px;" size="60" height="20px" class="grey" value="<?php echo $this->_tpl_vars['User']->visited_countries; ?>
"/>
		</td>
	</tr>
	<tr>
		<td colspan="2" style="padding-top:20px;" align="right"><input type="submit" value="Сохранить" class="but" height="15px"></td>
	</tr>
	<tr>
		<td colspan="2" align="left" style="padding-top:10px;">
			<a class="grey4">* - отмечены обязательные для заполнения поля.</a><br>
			<a class="grey4">** - если вы не хотите менять пароль то оставьте поля пустыми.</a>
			<a class="grey4">*** - сменить логин нельзя.</a>
		</td>
	</tr>
</table>
</form>